package com.sdruixinggroup.mondayb2b.ui.fragments;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.sdruixinggroup.mondayb2b.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by 00029935 on 2017/11/17.
 */

public class RegisterAgreementFragment extends BaseFragment {
    @BindView(R.id.ib_back)
    ImageView ibBack;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.ib_setting)
    ImageView ibSetting;
    @BindView(R.id.tv_right)
    TextView tvRight;
    @BindView(R.id.title_view)
    RelativeLayout titleView;

    @Override
    protected int getInflateLayout() {
        return R.layout.register_agreement_fragment;
    }

    @Override
    protected void setUpView(View view) {
        tvTitle.setText("粒到农资注册协议");
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        // TODO: inflate a fragment view
        View rootView = super.onCreateView(inflater, container, savedInstanceState);
        ButterKnife.bind(this, rootView);
        return rootView;
    }

    @OnClick(R.id.ib_back)
    public void onClick() {
        getActivity().finish();
    }
}
